package org.jeecg.modules.monitoring.j_monitoring.service;

import org.jeecg.modules.monitoring.j_monitoring.entity.RingDevices;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 动环设备服务
 * @Author: xiaoyq
 * @Date:   2023-07-11
 * @Version: V1.0
 */
public interface IRingDevicesService extends IService<RingDevices> {
    /**
     * 获得所有动环设备列表
     * @return
     */
    List<RingDevices> getAllList();

    /**
     * 根据名称获取动环设备列表
     * @param nameList
     * @return
     */
    List<RingDevices> getListByNameList(List<String> nameList);

    /**
     * 根据名称获取设备id
     * @param name
     * @return
     */
    String queryIdByName(String name);
}
